package com.qd.pay.repository;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.cdqidi.db.BaseService;
import com.qd.pay.mapper.OrderReportNotifyMapper;
import com.qd.pay.model.OrderReportNotify;
import org.springframework.stereotype.Repository;

/**
 * @author sjk
 */
@Repository
public class OrderReportNotifyRepository extends BaseService<OrderReportNotifyMapper, OrderReportNotify> {

    public boolean isExists(String nid) {
        return getBaseMapper().exists(new QueryWrapper<OrderReportNotify>().eq("nid", nid));
    }
}